/**
 * 
 */
package test;

/**
 * @author michal
 *
 */
public class PE1 {

	Integer i;
	
	public Integer run(Integer p){
		i++;
		if(i == 10){
			return 4;
		} else {
			return 2;
		}
	}
	
	public Object getnewToken(){
		return i;
	}
	
	public void start(){
		i = 0;
	}
	
	public void stop(){
		
	}


}
